package store

import (
	"simple-http-server/store"
	"simple-http-server/store/factory"
	"sync"
)

func init() {
	factory.RegisterBookRepository("mem", &MemBookRepository{
		mu:   sync.RWMutex{},
		data: make(map[string]*store.Book),
	})
}
